package com.yuan.blog.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yuan.blog.entity.InvitataionEntity;
import com.yuan.blog.mapper.InvitationMapper;
import com.yuan.blog.service.IInvitataionService;
import com.yuan.blog.vo.IndexDataVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class InvitataionServiceImpl extends ServiceImpl<InvitationMapper,InvitataionEntity> implements IInvitataionService {

    @Autowired
    private InvitationMapper invitationMapper;

    @Override
    public List<IndexDataVo> indexDataList(Integer order) throws Exception {
        return invitationMapper.indexDataList(order);
    }


}
